
package cn.xabad.commons.io.filefilter;

import java.io.File;
import java.io.Serializable;


public class HiddenFileFilter extends AbstractFileFilter implements Serializable {
    
    
    public static final IOFileFilter HIDDEN  = new HiddenFileFilter();
    
    
    public static final IOFileFilter VISIBLE = new NotFileFilter(HIDDEN);
    
    
    protected HiddenFileFilter() {
    }
    
    
    @Override
    public boolean accept(File file) {
        return file.isHidden();
    }
    
}
